package com.mt.roll.wms.params;

import com.mt.roll.core.params.BasePageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Author weihongyang
 * @Date 2020/12/30 14:00
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "物料查询参数", description = "用于查询物料信息")
public class MaterialQueryParam extends BasePageParam {
    /**
     * 物料名称
     */
    @ApiModelProperty(value = "物料名称", required = false, example = "name")
    private String name;

    /**
     * 物料编码
     */
    @ApiModelProperty(value = "物料编码", required = false, example = "code")
    private String code;
}
